import Vue from 'vue'
import ElementUI from 'element-ui';
import store from './store'
import 'element-ui/lib/theme-chalk/index.css';
import App from './App.vue'
import VueRouter from 'vue-router'
import router from './router'
import clickoutside from 'element-ui/src/utils/clickoutside'
import "@/assets/icon/iconfont"
import "@/assets/icon/iconfont.css"
// import vueConfig from 'vue.config';

Vue.directive('clickoutside', clickoutside)

Vue.use(VueRouter)
Vue.use(ElementUI);
Vue.use(store)
Vue.config.productionTip = false
// const bus = new Vue();
// Vue.prototype.$bus = bus
new Vue({
  render: h => h(App),
  beforeCreate(){
    Vue.prototype.$bus = this
  },
  router,
  store
}).$mount('#app')
